package com.zide.auth.domain.entity.platform;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author 石添
 * @date 2024/8/25
 */
@Data
@TableName("platform_role_menu")
@Schema(description = "租户角色菜单关联表")
public class PlatformRoleMenu {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    @Schema(description = "租户id")
    private Long tenantId;
    @Schema(description = "角色id")
    private Long roleId;
    @Schema(description = "菜单id")
    private Long menuId;

}
